package com.vil.service;

import com.vil.common.ServerResponse;
import com.vil.entity.Charge;
import com.vil.entity.Detail;

public interface DetailService {


    //动态增加
    ServerResponse insertSelective(Detail record);

    //根据主键删除
    ServerResponse deleteByPrimaryKey(Long id);

    //根据主键动态修改
    ServerResponse updateByPrimaryKeySelective(Detail record);

    //根据ID查询
    ServerResponse getById(Long id);

    //批量删除
    ServerResponse deleteMany(Long[] ids);

    //多条件分页查询
    ServerResponse getListByManyConditions(Integer pageIndex,Integer pageSize,Detail record);
}
